Calling HTML Help Topics from the Command Line

To call a help topic contained in a HTML Help file (.chm) from the command line, you need to run the HTML Help system with special parameters. When running the help system, you only enter the file name "hh" without the path for it is located in the Windows directory.

The command line parameters are entered in the following format:
hh HELPFILE::/TOPICNAME.htm#TARGET

HELPFILE is the file name whose topic you want to call.
TOPICNAME is the name of the topic you call. When compiling a HTML Help project, Help Development Studio uses the topic Context property to name it.
TARGET if the topic has a Target and you want to go to it, you should also enter this additional parameter.

Example

The following command line calls the help topic named 'Topic10.htm' from the file 'helpstd.chm':

hh helpstd.chm::/topic10.htm